home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / SBDAC.ARJ / README.TXT < prev    next >
Text File  |  1992-02-09  |  2KB  |  36 lines

  1. This is some short test code that I put together to drive the
  2. Soundblaster's DAC in both DMA and direct mode. There are two programs:
  3.  
  4. DACDMA.EXE            Outputs a raw 8 bit sample file to the DAC in
  5.                     DMA mode.
  6.  
  7. DACDIR.EXE            Outputs a raw 8 bit sample file to the DAC in
  8.                     direct mode.
  9.  
  10. Unfortunately DACDIR has seemed to have stopped working for some reason.
  11. If someone can tell me what has gone wrong, please send me some mail.
  12.  
  13. The usage of bot programs is quite simple. DACDMA can take up to two
  14. arguments. The first is the name of the sample file. The second is an
  15. optional sample rate to play the sample back. The sample rate will
  16. default to 11KHz. DACDIR only takes one arguement, the name of the raw
  17. sample to play.
  18.  
  19. The IO address and IRQ for the Soundblaster is set in the file SBP.ASM.
  20. It is fairly important that these are set correctly. I have it set up
  21. for port 0x220 and IRQ 5 (I sort of found a conflict with IRQ 7 under
  22. OS/2 2.0 8-(). Note also, that the samples are only played in mono on
  23. the SB Pro. I haven't yet worked out how to use it in stereo.
  24.  
  25. As a bonus, I have included a program that will read the Soundblaster
  26. Pro's mixer chip and report what the current volume settings are. I have
  27. a little more documentation for it, but I haven't got around to writing
  28. it up properly yet. It is just some random scribblings.
  29.  
  30. Any comments or suggestions (or especially more programming information)
  31. can be directed to cejjb@marlin.jcu.edu.au.
  32.  
  33.  
  34.                     Jeff Bird      9 Feb 92
  35.  
  36.